package com.effectivsocial.domain;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Embeddable;

import lombok.Getter;
import lombok.Setter;

/**
 * @author Dhrubo
 *
 */
@Embeddable 
public class Address  implements Serializable {
	private static final long serialVersionUID = 1L;
	
	@Getter @Setter
	@Column(name="city", insertable=true , updatable=true, length=50)
	private String city;
	
	@Getter @Setter
	@Column(name="country", insertable=true , updatable=true, length=50)
	private String country;
	
	@Getter @Setter
	@Column(name="postcode", insertable=true , updatable=true, length=50)
	private String postcode;
	
	@Getter @Setter
	@Column(name="state", insertable=true , updatable=true, length=50)
	private String state;
	
	@Getter @Setter
	@Column(name="street", insertable=true , updatable=true, length=50)
	private String street;
	
	
}